package com.cuckoo.mall.thus.menuaccount.favorite;

import com.bgn.baseframe.base.BasePresenter;
import com.bgn.baseframe.base.BaseView;
import com.cuckoo.mall.javabean.Goods;
import com.cuckoo.mall.javabean.Product;

import java.util.List;

/** * 作者：wl on 2018/4/ * 邮箱：wanglun@stosz.com */

public class FavoriteContract {
    interface View extends BaseView {
        void whenGetFavorites(List<Product> datas,int type);
        void whenDeleteSucceed( List<Integer>  positions);
    }

    interface Presenter extends BasePresenter<View> {
        void loadAllFavorites(int type);
        void deleteFavorite(String product_id, List<Integer>  positions);
    }
}
